package com.itkeke.ssm.service.impl;

import com.itkeke.ssm.mapper.ItemMapper;
import com.itkeke.ssm.pojo.Item;
import com.itkeke.ssm.service.StartService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class StartServiceImpl implements StartService {

    @Autowired
    private ItemMapper itemMapper;

    @Override
    public void findMsg() {
        System.out.println("-----------------------------------------------");
        Integer value = itemMapper.findcount();
        System.out.println(value);
        System.out.println("******************************************************");
    }
}
